package com.dja.nzw.mq.rabbit.dto;

import java.io.Serializable;

/**
 * Created by shuyun on 2016/8/9.
 */
public class MessagePayload implements Serializable {
    private long msgId;
    private String msgCode;
    private String msg;
    private String remark;

    public static final String exchangeName() {
        return "nzw-data-exchange";
    }

    public static final String queueName() {
        return "nzw-data-seckill";
    }

    public long getMsgId() {
        return msgId;
    }

    public void setMsgId(long msgId) {
        this.msgId = msgId;
    }

    public String getMsgCode() {
        return msgCode;
    }

    public void setMsgCode(String msgCode) {
        this.msgCode = msgCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "MessagePayload{" +
                "msgId=" + msgId +
                ", msgCode='" + msgCode + '\'' +
                ", msg='" + msg + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
